text/template/parse.lexer.start (field)
15 uses
text/template/parse (current package)
lex.go#L120: start Pos // start position of this item
lex.go#L163: l.items <- item{t, l.start, l.input[l.start:l.pos], l.startLine}
lex.go#L164: l.start = l.pos
lex.go#L170: l.line += strings.Count(l.input[l.start:l.pos], "\n")
lex.go#L171: l.start = l.pos
lex.go#L194: l.items <- item{itemError, l.start, fmt.Sprintf(format, args...), l.startLine}
lex.go#L258: trimLength = rightTrimLength(l.input[l.start:l.pos])
lex.go#L261: if l.pos > l.start {
lex.go#L262: l.line += strings.Count(l.input[l.start:l.pos], "\n")
lex.go#L271: if l.pos > l.start {
lex.go#L272: l.line += strings.Count(l.input[l.start:l.pos], "\n")
lex.go#L464: word := l.input[l.start:l.pos]
lex.go#L580: return l.errorf("bad number syntax: %q", l.input[l.start:l.pos])
lex.go#L585: return l.errorf("bad number syntax: %q", l.input[l.start:l.pos])